using System;
using System.Collections.Generic;
using System.Text;

namespace Monorf.Communications.Links
{
    public class OneWayMessageHeader : BasicMessageHeader
    {

        public OneWayMessageHeader()
        {
        }

        public OneWayMessageHeader(Uri uriTo, Guid messageId, String action)
            :base(uriTo,messageId,action)
        {

        }
                
        /// <summary>
        /// destination endPoint
        /// </summary>
        public String To //http://fabrikam.com/Server</wsa:To> 
        {
            get { return base.m_uriTo.AbsoluteUri; }
            set { base.m_uriTo = new Uri(value); }
        }

        /// <summary>
        /// unique message id
        /// </summary>
        public Guid MessageId
        {
            get { return base.m_messageId; }
            set { base.m_messageId = value; }
        }

        /// <summary>
        /// action that will be executed in remote endpoint
        /// </summary>
        public String Action
        {
            get { return base.m_action; }
            set { base.m_action = value; }
        }
    }
}
